<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
<head>
<meta http-equiv="Content-Type" 
        content="text/html; charset=iso-8859-1" />
<title>New Customer</title>
</head>
<body>
<div>
  <h:form id="bookings">
  	<h:messages/><br/>
	<h:commandButton value="Novo" action="#{pessoaFisicaControle.novo}" />
	<h:outputText value="Nenhum registro encontrado" rendered="#{pessoaFisicas.rowCount==0}"/>
	<h:dataTable value="#{pessoaFisicas}" var="pessoa" rendered="#{pessoaFisicas.rowCount>0}">
		<h:column>
			<f:facet name="header">Nome</f:facet>
			#{pessoa.nome}
		</h:column>
		<h:column>
			<f:facet name="header"></f:facet>
			<h:commandLink value="Excluir" action="#{pessoaFisicaControle.excluir}"/>
		</h:column>
		<h:column>
			<f:facet name="header"></f:facet>
			<h:commandLink value="Editar" action="#{pessoaFisicaControle.editar}"/>
		</h:column>
	</h:dataTable>
  </h:form>
</div>
</body>
</html>